package com.study.model.pojo.PSIpojo;

import java.io.Serializable;
import javax.persistence.*;

import com.study.model.pojo.HRpojo.EmpTab;

import java.util.Date;


/**
 * The persistent class for the supplier_tab database table.
 * 
 */
@Entity
@Table(name="supplier_tab")
@NamedQuery(name="SupplierTab.findAll", query="SELECT s FROM SupplierTab s")
public class SupplierTab implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int suppid;

	@ManyToOne
	@JoinColumn(name="empid")
	private EmpTab empTab;

	private String suppadd;

	@Temporal(TemporalType.TIMESTAMP)
	private Date suppedopd;

	private String suppemail;

	private String suppname;

	private String suppremark;

	private int suppstate;

	private String supptel;

	@Temporal(TemporalType.TIMESTAMP)
	private Date suppwrited;

	public SupplierTab() {
	}

	public int getSuppid() {
		return this.suppid;
	}

	public void setSuppid(int suppid) {
		this.suppid = suppid;
	}

	

	public EmpTab getEmpTab() {
		return empTab;
	}

	public void setEmpTab(EmpTab empTab) {
		this.empTab = empTab;
	}

	public String getSuppadd() {
		return this.suppadd;
	}

	public void setSuppadd(String suppadd) {
		this.suppadd = suppadd;
	}

	public Date getSuppedopd() {
		return this.suppedopd;
	}

	public void setSuppedopd(Date suppedopd) {
		this.suppedopd = suppedopd;
	}

	public String getSuppemail() {
		return this.suppemail;
	}

	public void setSuppemail(String suppemail) {
		this.suppemail = suppemail;
	}

	public String getSuppname() {
		return this.suppname;
	}

	public void setSuppname(String suppname) {
		this.suppname = suppname;
	}

	public String getSuppremark() {
		return this.suppremark;
	}

	public void setSuppremark(String suppremark) {
		this.suppremark = suppremark;
	}

	public int getSuppstate() {
		return this.suppstate;
	}

	public void setSuppstate(int suppstate) {
		this.suppstate = suppstate;
	}

	public String getSupptel() {
		return this.supptel;
	}

	public void setSupptel(String supptel) {
		this.supptel = supptel;
	}

	public Date getSuppwrited() {
		return this.suppwrited;
	}

	public void setSuppwrited(Date suppwrited) {
		this.suppwrited = suppwrited;
	}

}